/**
 * 查询最新记录 - 用于添加
 */
export const useLoadChuanYuanKuGongZuoNewApi = ()=>{
    return useHttpPost("/chuanyuankugongzuo/findLastChuanYuanKuGongZuo",{})
}

/**
 * 查询列表
 */
export const useLoadChuanYuanKuGongZuoApi = (body)=>{
    return useHttpPost("/chuanyuankugongzuo/list",{body})
}

/**
 * 保存修改
 */
export const useSaveUpdateChuanYuanKuGongZuoApi = (body)=>{
    return useHttpPost("/chuanyuankugongzuo/saveupdate",{body})
}

/**
 * 根据ID查询明细
 */
export const useGetChuanYuanKuGongZuoApi = (id)=>{
    return useHttpPost("/chuanyuankugongzuo/get/"+id,{})
}

/**
 * 删除
 */
export const useDelChuanYuanKuGongZuoApi = (id)=>{
    return useHttpPost("/chuanyuankugongzuo/del/"+id,{})
}

/**
 * 修改状态
 */
export const useUpdateStatusChuanYuanKuGongZuoApi = (body)=>{
    body.field = C2B(body.field)
    return useHttpPost("/chuanyuankugongzuo/update/status",{body})
}
